package me.zhengjie.utility.state;

import lombok.Getter;

@Getter
public enum TaskStatus {
    task_abnormal(-1,"任务异常"),
    Task_create(0,"任务创建"),
    task_send(1,"任务发送"),
    task_take(2,"任务取货"),
    task_put(3,"任务放货"),
    Task_complete(4,"任务完成"),
    Task_cancel(5,"任务取消"),
    LINE_EDGE_WAREHOUSE_IDLE(0,"空闲"),
    LINE_EDGE_WAREHOUSE_RESERVED(1,"预定"),
    LINE_EDGE_WAREHOUSE_OCCUPIED(3,"占用"),
    LINE_EDGE_WAREHOUSE_EMPTY_PALLET(5,"空托盘"),
    LINE_EDGE_WAREHOUSE_MANUAL_LOAD(4,"人工放料"),
    APPLY_RELEASE_GOODS_DEFAULT(0,"申请放货默认"),
    APPLY_RELEASE_GOODS_AGV(1,"agv申请放货"),
    PATTERN_PICK_UP(1,"取货"),
    PATTERN_ANTI_CARGO(2,"3楼出库放货"),
    INBOUND_PATTERN_ANTI_CARGO(3,"3楼入库链条放货"),
    ;
    private Integer status;

    private String message;

    TaskStatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
}
